package com.zhen.aikan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijiazhen
 * @since 2023-09-11
 */
@Data
@TableName("tb_advertising")
@ApiModel(value = "Advertising对象", description = "")
public class Advertising implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("图片")
    private String img;

    @ApiModelProperty("图片地址")
    @TableField(exist = false)
    private String imgUrl;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("广告类型")
    private String type;
}
